package com.ruoyi.puyu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 课时对象 puyu_lesson
 * 
 * @author wusongwen
 * @date 2024-05-01
 */
public class PuyuLesson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课时ID */
    private Long lessonId;

    /** 用户id */
    private Long userId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 教练ID */
    @Excel(name = "教练ID")
    private Long coachId;

    /** 场馆ID */
    @Excel(name = "场馆ID")
    private Long stadiumId;

    /** 班次ID */
    @Excel(name = "班次ID")
    private Long classesId;

    /** 删除标志 */
    private String delFlag;

    /** 教练信息 */
    private String coachName;

    private List<PuyuLessonStudent> puyuLessonStudents;

    public void setLessonId(Long lessonId) 
    {
        this.lessonId = lessonId;
    }

    public Long getLessonId() 
    {
        return lessonId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCoachId(Long coachId) 
    {
        this.coachId = coachId;
    }

    public Long getCoachId() 
    {
        return coachId;
    }
    public void setStadiumId(Long stadiumId) 
    {
        this.stadiumId = stadiumId;
    }

    public Long getStadiumId() 
    {
        return stadiumId;
    }
    public void setClassesId(Long classesId) 
    {
        this.classesId = classesId;
    }

    public Long getClassesId() 
    {
        return classesId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getCoachName() {
        return coachName;
    }

    public void setCoachName(String coachName) {
        this.coachName = coachName;
    }

    public List<PuyuLessonStudent> getPuyuLessonStudents() {
        return puyuLessonStudents;
    }

    public void setPuyuLessonStudents(List<PuyuLessonStudent> puyuLessonStudents) {
        this.puyuLessonStudents = puyuLessonStudents;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lessonId", getLessonId()).append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("coachId", getCoachId())
            .append("stadiumId", getStadiumId())
            .append("classesId", getClassesId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
                .append("coachName", getCoachName())
            .toString();
    }
}
